package yxy.game.pm2.active.module;

import yxy.apple.util.PubSub.MethodSubscriber;
import yxy.apple.util.PubSub.SubscriptionMethod;
import yxy.game.pm2.bean.pubsub.TaskPublisher;
import yxy.game.pm2.bean.pubsub.TaskPublisher.TaskSubscription;

public class ActiveSubscriber_关卡基金 extends MethodSubscriber {

	static private ActiveSubscriber_关卡基金 instance;

	public static ActiveSubscriber_关卡基金 getInstance() {
		if (instance == null) {
			instance = new ActiveSubscriber_关卡基金();
			instance.init();
		}
		return instance;
	}

	private void init() {
		TaskPublisher.getInstance().subscribe(this);
	}
	
	private ActiveSubscriber_关卡基金() {
	}

	@SubscriptionMethod(Type = TaskSubscription.class)
	public void receive(TaskSubscription subscription) {
		String playerCode = subscription.getPlayerCode();
		ActiveModule_关卡基金 am = ActiveModule_关卡基金.get(playerCode,false);
	}
}
